package com.springframework.aop;

import com.self.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class UserServiceBeforeAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable{
        System.out.println("2.AOP拦截器链前置通知方法Advice:  " + method.getName());
    }
}
